Conversation
… skill Document the allowed-tools frontmatter field in the Skills section of the plugin-structure skill. This capability allows skills to restrict tool access for read-only workflows, security-sensitive tasks, or limited-scope operations. Fixes #91 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @sjnims's task in 1m 7s —— View job PR Review Complete ✅SummaryLooks good! This PR appropriately documents the What's Good
SuggestionsMinor Enhancement (Optional): Consider adding a cross-reference to the agents section, since agents also support **Note**: Agents also support `allowed-tools` for tool restrictions (see Agents section).However, this is purely optional - the current documentation is complete and self-contained. Checklist Verification
Recommendation: Approve and merge. This is a clean documentation addition that helps users discover an existing feature. |
Add "(optional)" label and inline comment to make clear that allowed-tools is not a required field for skills. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@claude please review this PR with the additional commit |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
Claude finished @sjnims's task in 1m 18s —— View job PR Review Complete ✅Reviewing the additional commit in PR #93... Todo List
SummaryExcellent improvement! The additional commit (5ac0f77) makes a meaningful clarification that enhances the documentation quality. The changes are well-thought-out and address a potential source of confusion. What Changed in the Latest CommitThe commit "docs: clarify allowed-tools is optional frontmatter" made two small but impactful changes to lines 203 and 209:
Analysis✅ Strengths
📋 Verification Checklist
Impact AssessmentBefore: Developers might assume After: Developers clearly understand this is an optional security feature they can use when needed, reducing potential confusion during plugin development. Minor Observations
RecommendationStrong Approve ✅ This is a textbook example of incremental documentation improvement:
The PR is ready to merge. Both commits work together effectively:
|
|
Claude finished @sjnims's task in 59s —— View job PR Review Complete ✅SummaryExcellent update! The additional commit addresses the previous review feedback by clarifying that What's Good
Changes ReviewedCommit 26a1154 (Initial):
Commit 5ac0f77 (Latest):
Checklist Verification
Recommendation: Approve and merge. This PR is ready to go - the documentation is clear, accurate, well-placed, and properly indicates that |
Summary
Add documentation for the
allowed-toolsfrontmatter field to the Skills section of the plugin-structure skill, enabling users to discover this capability when learning about plugin skills.Problem
Fixes #91
The plugin-structure skill documents skills as a plugin component type but doesn't mention the
allowed-toolsfrontmatter field that skills can use to restrict tool access. This feature is documented in:But was missing from the plugin-structure skill where users would naturally look for skill configuration options.
Solution
Added a Tool restrictions subsection after the SKILL.md format example that:
allowed-toolsRead, Grep, GlobAlternatives Considered
Changes
plugins/plugin-dev/skills/plugin-structure/SKILL.md: Added allowed-tools documentation (12 lines)Testing
🤖 Generated with Claude Code